package com.softa.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author panda
 * 用户表
 */
@Data
@TableName("sys_user")
public class SysUser {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "username")
    private String username;

    @TableField(value = "password")
    private String password;

    @TableField(value = "salt")
    private String salt;

    @TableField(value = "role_ids")
    private String roleIds;

    @TableField(value = "locked")
    private Boolean locked;

    @TableField(value = "age")
    private Integer age;

    @TableField(value = "isshow")
    private Integer isshow;

    @TableField(value = "realname")
    private String realname;

    @TableField(value = "sex")
    private Boolean sex;

    @TableField(value = "email")
    private String email;

    @TableField(value = "type")
    private Integer type;

    @TableField(value = "address")
    private String address;

}